<?php
session_start();
if ($_SESSION['tabp_admin'] == 0)  {
    $_SESSION['ReqUrl'] = $_SERVER['REQUEST_URI'];
    header('Location: login.php');
}
?>
